<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@include file="/white/common/common.jsp"%>

<html>
	<body>
		<div id="div_title">
			<h3>
				采集数据上传
			</h3>
		</div>

		<!-- Data Form -->
		<%@include file="/white/common/message.jsp"%>

		<s:form method="post"
			action="dataCollectBatchAction!importDataCollect"
			enctype="multipart/form-data" theme="simple">
			<s:token />

			<table cellpadding="0" cellspacing="0" class="t_form">
				
				<tr>
					<td width="15%">
						数据批号:
					</td>
					<td>
						${dataCollectBatch.batchNum}
					</td>
				</tr>


				<tr>
					<td width="15%">
						数据来源:
					</td>
					<td>	
						<s:select list="dataSourceMap" headerKey=""
										name="dataCollectBatch.source" id="dataCollectBatch.source"
										value="dataCollectBatch.source" >
						</s:select>
						
						<span class="red_star">*</span>
						
					</td>
				</tr>

				<tr>
					<td width="15%">
						请选择文件:
					</td>
					<td>
					    <input type="file" name="upload" />
					</td>
				</tr>

			</table>

			<div id="div_button">
			
			<authz:authorize ifAnyGranted="OMC_DATA_COLLECT_BATCH">

				<s:submit key="上传" action="dataCollectBatchAction!importDataCollect"
					onclick="if(validateForm()){return true;}else{return false;}"
					cssClass="input_button" />
			</authz:authorize>			
					
				<s:submit key="返回"
					onclick="form.action='dataCollectBatchAction!queryByPage.action';return true;"
					cssClass="input_button" />
			</div>

			<s:hidden name="searchString" />

		</s:form>
		<!--Data Form End -->

	</body>

</html>